<?php include incTemplate('header');?>
<link
	rel="stylesheet"
	href="/js/jquery.plugin/fancybox/jquery.fancybox-1.3.4.css">
<script
	type="text/javascript" src="/js/easyui/jquery-1.4.4.min.js"></script>
<script
	type="text/javascript"
	src="/js/jquery.plugin/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script
	type="text/javascript"
	src="/js/jquery.plugin/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript">
$(function(){
	$("a[rel=cert]").fancybox();
});
</script>
<link
	href="<?php echo HT;?>css/pagesplit.css" rel="stylesheet"
	type="text/css" />
<style>
body {
	background: #fff url(<?php echo HT?>/images/ewf.gif) repeat-x;
}
</style>
</head>
<body>
<div class="container"><?php include incTemplate('header_bar');?>
<div class="clear">
<table style="background:url(<?php echo HT?>flv/02.jpg);" width="950" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="950" height="230"><object id="FlashID"
			classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950"
			height="230">
			<param name="movie" value="<?php echo HT?>flv/banner.swf" />
			<param name="quality" value="high" />
			<param name="wmode" value="transparent" />
			<param name="swfversion" value="8.0.35.0" />
			<!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
			<param name="expressinstall"
				value="<?php echo HT?>flv/Scripts/expressInstall.swf" />
			<!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 --> <!--[if !IE]>--> <object
				type="application/x-shockwave-flash"
				data="<?php echo HT?>flv/banner.swf" width="950" height="230"> <!--<![endif]-->
				<param name="quality" value="high" />
				<param name="wmode" value="transparent" />
				<param name="swfversion" value="8.0.35.0" />
				<param name="expressinstall"
					value="<?php echo HT?>flv/Scripts/expressInstall.swf" />
				<!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
				<div>
				<h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
				<p><a href="http://www.adobe.com/go/getflashplayer"><img
					src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
					alt="获取 Adobe Flash Player" width="112" height="33" /></a></p>
				</div>
				<!--[if !IE]>--> </object> <!--<![endif]--> </object></td>
	</tr>
</table>
</div>

<div class="divcontent">
<div class="left">
<div class="leftbar">
<div class="listhead"
	style="background-color: #D0C5A6; height: 28px; line-height: 30px;"><?php echo $bfb_product;?></div>
<div class="leftbarcontent">
<ul>
<?php
foreach ($topproducts as $top){
	?>
	<li><img src="<?php echo HT;?>/images/img8.jpg" />&nbsp;&nbsp;<a
		href="/index.php/product/show/<?php echo $top['id'];?>.html"><?php echo $top['pname'];?></a></li>
		<?php
}
?>
</ul>
</div>
<?php include incTemplate('part_contact');?></div>
</div>
<div class="right">
<div class="imginfolist">
<div class="listhead"><?php echo $bfb_position;?><a
	style="font-size: 12px;" href="/"><?php echo $bfb_home;?></a> │<?php echo $bfb_product;?></div>
<div style="padding: 10px; display: table; width: 100%;">
<table width="95%" height="28" cellspacing="0" cellpadding="0"
	border="0">
	<tbody>
		<tr>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>
<table width="95%" cellspacing="0" cellpadding="0" border="0"
	align="center">
	<tbody>
	<?php
	$i = 0;
	foreach ($products as $proc){

		if($i==0){
			echo '<tr>';
		}else{
			if($i%3==0){
				echo '</tr><tr>';
			}
		}
		?>
		<td>
		<div align="center">
		<table width="160" height="120" cellspacing="0" cellpadding="0"
			bordercolor="#636363" border="1" style="border-collapse: collapse">
			<tbody>
				<tr>
					<td>
					<div align="center"><a target="_self"
						href="/index.php/product/show/<?php echo $proc['id'];?>"> <?php 
		if($proc['imgurl'] !=""){
			?> <img width="160" height="118"
						border="0" src="/<?php echo $proc['imgurl'];?>"> <?php 
		}else{
			?> <img width="160" height="118"
						border="0" src="/attach/product/2011-12-30/050bbc3ef86de095a0c8b53f2e745ebe.jpg"> <?php 
		}
		?></a></div>
					</td>
				</tr>
			</tbody>
		</table>
		<div align="center"
			style="margin-top: 5px; margin-bottom: 8px; word-break: break-all; font-size: 12px""><a
			target="_self" title="<?php echo $proc['pname'];?>"
			href="/index.php/product/show/<?php echo $proc['id'];?>.html"><?php echo $proc['pname'];?></a>

		</div>
		
		</td>
		<?php
		$i++;
	}
	$pl = sizeof($products);
	$leave = $pl%3;
	for($j= 0;$j<$leave;$j++){
		echo '<td></td>';
	}
	echo '</tr>';
	?>

		<tr>
			<td width="33%" height="1">&nbsp;</td>
			<td width="33%" height="1">&nbsp;</td>
			<td width="33%" height="1">&nbsp;</td>
		</tr>
	</tbody>
</table>
</div>

<div style="width: 100%; text-align: center;">
<div class="pagingBar"><?php echo $pagebar;?></div>
</div>

</div>
</div>
</div>
<div class="neiye"><img width="953" height="17"
	src="<?php echo HT?>/images/neiye7_25.gif"></div>
	<?php include incTemplate('footer_inside');?></div>
</body>
</html>
